<%--
  Created by IntelliJ IDEA.
  User: 33333333
  Date: 2020/9/24
  Time: 9:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>comment-save</title>
    <script src='${pageContext.request.contextPath}/scripts/tinymce/tinymce.min.js'></script>
</head>
<body>
<form id="regForm" action="${pageContext.request.contextPath}/f-comment/save" method="post" onsubmit="return checkForm(this)">
    <table style="width: 100%">
        <tr>
            <td class="field">昵称：</td>
            <td><input class="text" type="text" value="${userNow.euUserName}" name="ecNickName" onfocus="FocusItem(this)" onblur="CheckItem(this);"  /><span></span></td>
        </tr>
        <tr>
            <td class="field">留言内容：</td>
            <td>
                <textarea id="mytextarea" name="ecContent">Hello, World!</textarea>
                <span></span>
            </td>
        </tr>
        <tr>
            <td></td>
            <td><label class="ui-blue"><input type="submit" name="submit" value="提交留言" /></label></td>
        </tr>
    </table>
</form>
</body>
<script>
    tinymce.init({
        selector: '#mytextarea',
        language_url : '${pageContext.request.contextPath}/scripts/tinymce/langs/zh_CN.js',
        language:'zh_CN',
        // inline: true
    });
</script>
</html>
